import 'package:flutter/material.dart';
import 'package:flutter_common_app/utils/common_util/log_util.dart';

class DynamicTab extends StatefulWidget {
  @override
  _DynamicTabState createState() => _DynamicTabState();
}

class _DynamicTabState extends State<DynamicTab>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  void initState() {
    LogUtil.v('初始化电影');
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return Scaffold(
      body: Center(
        child: Text('电影'),
      ),
    );
  }
}
